       <?php if(isset($company)): ?>        
            <div class="column" style="width: 50%;" onmouseover="Hovercat('<?php echo $company->id; ?>')" onmouseout="Outcat('<?php echo $company->id; ?>')">
	            	<a href="javascript:;" class="art"><?php echo $company->name; ?></a>
	                <div class="action" id="neocat-<?php echo $company->id; ?>">
	                    <img src="<?php echo img_link('edit.gif', 'admin'); ?>"><a href="javascript:void(0)" onclick="open_form('<?php echo action_link('edit/'.$company->id); ?>')">Sửa</a><img src="<?php echo img_link('delete.gif', 'admin'); ?>"><a href="javascript:void(0)" onclick="company_delete('<?php echo $company->id; ?>')"><font color="#be0000">Xóa</font></a>
	                </div>
	            </div>
	            
	            <div class="column" style="width:20%;">
	            <?php 
	            	$i = 1;
	            	$next_order=$i;
	        		$back_order=$i+1;
	            ?>
                    <input type="text" name="com[<?php echo $i;?>][order]" id="com_<?php echo $i;?>" value="<?php echo $com->order;?>" style="width:45px; float:left;" onkeypress="enter_go(event);" />
                    <span class="updown">
                        <a href="javascript:;" onclick="order_step('com_<?php echo $i;?>',<?php echo $company[$next_order]->order;?>);">
                            <img src="<?php echo img_link('up.gif','admin')?>" title="up" />
                        </a>
                        <a href="javascript:void(0);" onclick="order_step('com_<?php echo $i;?>',<?php echo $company[$back_order]->order;?>);">
                            <img src="<?php echo img_link('down.gif','admin')?>" title="down" />
                        </a>
                    </span>
                </div>  
                            
            	<div class="column" style="width: 8%;">
		            <?php if($company->status == 'no'): ?>
					<a href="javascript:void(0);" onclick="company_status('<?php echo $company->id;?>', 'yes')"><img src="<?php echo img_link('pending.png', 'admin'); ?>" class="icon png" title="Kích hoạt" alt="Kích hoạt"></a>
		            <?php else: ?>
					<a href="javascript:void(0);" onclick="company_status('<?php echo $company->id;?>', 'no')"><img src="<?php echo img_link('active.png', 'admin'); ?>" class="icon png" title="Hủy kích hoạt" alt="Hủy kích hoạt"></a>
		            <?php endif; ?>
	            </div>
		<?php endif; ?>